/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.yurendao.OSFileSystem.file;

/**
 *
 * @author Administrator
 */
public class MyFile {
	private int myFATNumber;
    private int myfatherFATNumber;
    
    private String myfileContent ;
    private FileAttributes myfileAttributes;   
    private int myfileSize ;     //记录 文件实际存储的字符个数

    public MyFile(int myfatherFATNumber,int myFATNumber ,String data,FileAttributes temp) {
        this.myFATNumber = myFATNumber;
        this.myfatherFATNumber = myfatherFATNumber;
        this.myfileSize = 0;
        this.myfileContent = data;
        this.myfileAttributes = temp;
    }

    public int getMyFATNumber() {
        return myFATNumber;
    }

    public void setMyFATNumber(int myFATNumber) {
        this.myFATNumber = myFATNumber;
    }

    public int getMyfatherFATNumber() {
        return myfatherFATNumber;
    }

    public void setMyfatherFATNumber(int myfatherFATNumber) {
        this.myfatherFATNumber = myfatherFATNumber;
    }

    public FileAttributes getMyfileAttributes() {
        return myfileAttributes;
    }

    public void setMyfileAttributes(FileAttributes myfileAttributes) {
        this.myfileAttributes = myfileAttributes;
    }

    public int getMyfileSize() {
        return myfileSize;
    }

    public void setMyfileSize(int myfileSize) {
        this.myfileSize = myfileSize;
    }

    public String getMyfileContent() {
        return myfileContent;
    }

    public void setMyfileContent(String myfileContent) {
        this.myfileContent = myfileContent;
    }
        
}
